@charset "utf-8";

@import "reset";
@import "fonts";


@function r($px){
    @return $px/64px*1rem;
}

body{
    height: 100%;
//  background-color: yellow;
}


.article{
    position: relative;
    height: 100%;
    background-color: #f5f5f5;
    header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 r(16px) 0 r(23px);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: r(90px);
        background-color: #b20000;
        z-index: 5;
    }
    section{
        position: absolute;
        top: r(90px);
        bottom: r(95px);
        width: 100%;
        overflow-x: hidden;
        overflow-y: scroll; 
    }
    footer{
        position: absolute;
        height: r(95px);
        width: 100%;
        bottom: 0;
        left: 0;
        background-color: gray;
        display: flex;
        z-index: 5;
    }
}


//article,header部分
.article_menu{
    color: white;
    height: r(40px);
    width: r(40px);
    line-height: r(40px);
    text-align: center;
    i{
        display: block;
        width: 100%;
        height: 100%;
        line-height: 100%;
        font-size: r(40px);
    }
}
.article_logo{
    height: r(39px);
    width: r(265px);
    img{
        height: 100%;
        width: 100%;
        display: block
    }
}
.article_serve{
    border: r(1px) solid #fff;
    height: r(43px);
    line-height: r(43px);
    text-align: center;
    width: r(43px);
    border-radius: 50%;
    i{
        font-size: r(26px);
        color: white;
        display: block;
        height: 100%;
        width: 100%;
    }
}

//article,footer部分
.footer_nav{
    display: flex;
    justify-content: center;
    align-content: flex-end;
    flex-wrap: wrap;
    height: 100%;
    width: 20%;
    background-color: #f5f5f5;
    text-align: center;
    padding-bottom: r(10px);
    .nav_photoa{
        display: block;
        width: r(47px);
        height: r(38px);
        img{
            height: 100%;
            width: 100%;
            display: block
        }
    }
    .nav_photob{
        display: block;
        width: r(48px);
        height: r(40px);
        img{
            height: 100%;
            width: 100%;
            display: block
        }
    }
    .nav_photoc{
        display: block;
        width: r(41px);
        height: r(41px);
        img{
            height: 100%;
            width: 100%;
            display: block
        }
    }
    .nav_photod{
        display: block;
        width: r(42px);
        height: r(46px);
        img{
            height: 100%;
            width: 100%;
            display: block
        }
    }
    .nav_photoe{
        display: block;
        width: r(70px);
        height: r(43px);
        img{
            height: 100%;
            width: 100%;
            display: block
        }
    }
    .nav_desc{
        flex-basis: 100%;
        height: r(20px);
        margin-top: r(7px);
        line-height: r(20px);
        font-size: r(20px);
        color: #8b8b8b;
    }
    .nav_active_a{
        color: #b20000;
    }
}




//carousel
.carousel{
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    .carousel_see{
        width: 100%;
        height: r(306px);
        .pic_box{
            width: 100%;
            height: 100%;
            display: inline-block;
            white-space: nowrap;
            font-size: 0px;
            li{
                display: inline-block;
                height: 100%;
                width: 100%;
                overflow: hidden;
                position: relative;
                font-size: 0;
            }
            img{
                display: block;  
                height: 100%;
                width: 100%;
            }
        }
        .pannel{
            position: absolute;
            width: 100%;
            left: 0;
            bottom: 0;
            text-align: center;
            background-color: transparent;
            .active{
                background: red;
                border-color: red;
            }
            li{
                position: relative;
                display: inline-block;
                width: r(9px);
                height: r(9px);
                border-radius: 50%;
                background: rgb(183, 183, 183);
                margin-right: 4px;
            }
        }
    }
}

//carousel 内容

.carousel_content{
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: r(104px);
    background-color: rgba(0,0,0,.3);
    padding: r(24px) r(30px) r(10px);
    .con_desc{
        font-size: r(27px);
        flex-basis: 100%;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #fff;
    }
    .con_date{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        font-size: r(15px);
        .con_see{
            .iconfont{
                color: #fff;
                margin-right: r(48px);
                &::before{
                    margin-right: r(6px);
                }
            }
        }
        .date{
            color: #fff;
            font-size: r(17px);
        }
    }
}

.load_more{
    text-align: center;
    font-size: r(22px);
    padding-bottom: r(32px);
    padding-top: r(19px);
    color: #bbbbbb;
    background-color: #fff;
}


//输入密码

.enter_password{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 60;
    overflow: scroll;
    background-color: rgba(0,0,0,.9);
    transform: translateX(-100%);
}
.password_logo{
    height: r(137px);
    width: r(163px);
    margin: 0 auto;
    overflow: hidden;
    margin-top: r(192px);
    img{
        height: 100%;
        width: 100%;
    }
}

.password_frame{
    padding: 0 r(75px);
    margin-top: r(30px);
    li{
        margin: r(17px) 0;
        a{
            display: block;
            text-align: center;
            font-size: r(21px);
            height: 100%;
            line-height: r(55px);
            width: 100%;
            color: #cdcdcd;
        }
    }
    .p_frame_a{
        width: 100%;
        height: r(55px);
        .enter_color{
            background-color: #b60005;
        }
        .register_color{
            background-color: #303030;
            border: 1px solid #b60005;
        }
    }
}

.p_enter_frame{
    display: flex;
    i{
        display: block;
        height: 100%;
        line-height: r(55px);
        width: 13%;
        text-align: center;
        font-size: r(22px);
        color: #c9c9c9;
        background-color: #303030;
    }
    div{
        display: block;
        width: 87%;
        height: 100%;
        padding: 0 r(39px);
        background-color: #3d3d3d;
        input{
            display: block;
            height: 100%;
            width: 100%;
            background-color: transparent;
            border: none;
            color: #fff;
            font-size: r(22px);
        }
    }
}

.p_forget{
    margin-bottom: r(34px) !important;
    .icon-wenhao{
        display: block;
        height: 100%;
        width: 100%;
        line-height: r(55px);
        text-align: right;
        font-size: r(20px);
        color: #fff;
        &::before{
            margin-right: r(6px);
        }
    }
}


//返回，分享
.back_share{
    position: fixed;
    transform: translateX(100%);
    transition: all 1s;
    top: 0;
    left: 0;
    width: 100%;
    height: r(90px);
    background-color: #b20000;
    z-index: 10;
    padding: 0 r(22px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    i{
        font-size: r(40px);
        color: #fff;
    }
    p{
        width: 40%;
        height: 100%;
        line-height: r(90px);
        font-size: r(35px);
        font-weight: 500;
        color: #fff;
        text-align: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .share_content{
        transition: all 1s;
        transform-origin: right top;
        transform: scale(0);
        padding: r(10px);
        position: absolute;
        right: r(35px);
        top: r(65px);
        width: 20%;
        height: r(200px);
        border-radius: r(5px);
        display: flex;
        flex-wrap: wrap;
        background-color: rgba(255,255,255,.9);
        li{
            flex-basis: 100%;
            text-align: center;
            color: #8b8b8b;
            font-size: r(25px);
            &::before{
                margin-right: r(10px);
                font-size: r(30px);
            }
            
        }
    }
}
